package com.hspedu.homework_;

import java.util.Scanner;

public class Homework6 {
    public static void main(String[] args) {
        Person person = Person.getInstance();
        person.crossRoad();
        person.passRiver();
        person.passRiver();
        person.crossRoad();
        person.climb();
        person.crossRoad();
    }
}
